<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>OAuth2 SSO Demo</title>
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/uikit.gradient.min.css}"/>
</head>

<body>

<div class="uk-grid">
    <div class="uk-width-1-5"></div>
    <div class="uk-width-3-5">
        <h1 th:text="${session.SPRING_SECURITY_CONTEXT.authentication.principal.username}">Demo</h1>
        <form th:action="@{/logout}" method="post">
            <button class="uk-button">Logout</button>
        </form>
    </div>
    <div class="uk-width-1-5"></div>
</div>
</body>
</html>
